<%--
  Created by IntelliJ IDEA.
  User: Bronya
  Date: 2022/11/29
  Time: 15:30
  To change this template use File | Settings | File Templates.
--%>
<%@ page contentType="text/html;charset=UTF-8" language="java" %>
<html>
<head>
    <meta charset="utf-8">
    <title>添加书籍页面</title>
    <link rel="stylesheet" href="/css/book.css">
</head>
<body>
<div class="box">
    <h2>添加书籍</h2>
    <form method="post" action="/addbook">
        <div class="input-box">
            <label>书籍ID</label>
            <input type="text" placeholder="请输入书籍ID" name="book_id" >
        </div>
        <div class="input-box">
            <label>书籍名称</label>
            <input type="text" placeholder="请输入书籍名称" name="name" >
        </div>
        <div class="input-box">
            <label>类型</label>
            <input type="text" placeholder="请输入书籍类型" name="type" >
        </div>
        <div class="input-box">
            <label>作者姓名</label>
            <input type="text" placeholder="请输入作者姓名" name="author">
        </div>
        <div class="input-box">
            <label>出版社</label>
            <input type="text" placeholder="请输入出版社名" name="publisher">
        </div>
        <div class="input-box">
            <label>图书页数</label>
            <input type="text" placeholder="请输入图书页数" name="page">
        </div>
        <div class="input-box">
            <label>出版日期</label>
            <input type="text" placeholder="请输入出版日期" name="date">
        </div>
        <div class="input-box">
            <label>图书价格</label>
            <input type="text" placeholder="请输入图书价格" name="price" >
        </div>
        <div class="input-box">
            <label>图书库存</label>
            <input type="text" placeholder="请输入图书库存" name="quantity">
        </div>
        <div class="input-box">
            <label>图书封面</label>
            <input type="text" placeholder="请插入图书封面" name="image" >
        </div>
        <div class="input-box">
            <label>内容梗概</label>
            <input type="text" placeholder="请输入内容梗概" name="detail">
        </div>
        <div class="btn-box">
            <div>
                <input type="submit" value="增加">
            </div>
        </div>
    </form>
</div>
</body>
</html>
